package com.zqwh.xtool.model;

import com.zqwh.yj.sdk.utils.httpRequest.subscribers.NetCallback;
import com.zqwh.xtool.domain.DeviceConfigVO;
import com.zqwh.xtool.greendao.db.Device;

import java.util.List;

/**
 * Created by eason.yang on 2018/2/7.
 */
public interface DeviceModel {
    void activated(String sn, NetCallback<DeviceConfigVO> callback);

    boolean insertDevice(Device device);

    boolean insertMultDevice(List<Device> deviceList);
}
